-- GENERATED SPELL FOR [Infiltrator Marksen] --


function spell0_5416(pUnit, Event) --@Zombie Form,Self--
pUnit:FullCastSpellOnTarget(7293,pUnit)
pUnit:RegisterEvent('Sorts_5416', 571, 1)
end

function Sorts_5416(pUnit, Event)
local choix_sorts_5416 = math.random(0, 0)
if choix_sorts_5416 == 0 then
pUnit:RegisterEvent('spell0_5416', 1, 1)
end
end

function mob5416_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5416', math.random(1500, 3000), 1)
end

function mob5416_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5416_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5416_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5416, 1, 'mob5416_Action')
RegisterUnitEvent(5416, 2, 'mob5416_Leave')
RegisterUnitEvent(5416, 3, 'mob5416_Kill')
RegisterUnitEvent(5416, 4, 'mob5416_Die')
